import { ElLoading } from 'element-plus'

let inst;

export const loader = {

  start : ()=>{
    inst = ElLoading.service()
  },

  stop:()=>{
    if (inst){
      inst.close();
    }
  }
}